package cuit.cx.groupcomment.dao;




import java.util.List;
import java.util.Map;

import cuit.cx.groupcomment.model.Groupon;

public interface GrouponDAO {

    int updateGroupon(Groupon record);
    
    int deleteGroupon(Integer id);
    
    List<Groupon> findCurrentGroup(Map<String, Long> map);
    
    List<Groupon> findPastGroup(Map<String, Long> map);
    
    Groupon findGrouponById(Integer id);
}